home *** CD-ROM | disk | FTP | other *** search
- /* Example07.plot - Displays the plotter symbols for PLSYM */
- /* Modified for RexxPlPlot by Glenn M. Lewis - 9/12/89 */
-
- address 'PlPlot'
- say 'Please be patient...'
-
- base.1 = 0
- base.2 = 200
- base.3 = 500
- base.4 = 600
- base.5 = 700
- base.6 = 800
- base.7 = 900
- base.8 = 2000
- base.9 = 2100
- base.10 = 2200
- base.11 = 2300
- base.12 = 2400
- base.13 = 2500
- base.14 = 2600
- base.15 = 2700
- base.16 = 2800
- base.17 = 2900
-
- /* Full sized page for display */
-
- 'plstar(1,1);'
- do l=1 to 17
- 'pladv(0);'
-
- /* Set up viewport and window */
-
- 'plvpor(0.1,1.0,0.1,0.9);'
- 'plwind(0.0,1.0,0.0,1.0);'
-
- /* Draw the grid using plbox */
-
- 'plbox("bcgt",0.1,0,"bcgt",0.1,0);'
-
- /* Write the digits below the frame */
-
- do i=0 to 9; 'plmtex("b",1.5,' 0.1*i+0.05 ',0.5,i);'; end i
-
- k=0
- do i=0 to 9
-
- /* Write the digits to the left of the frame */
-
- 'plmtex("lv",1.0,' 0.95-0.1*i ',1.0,' base.l+10*i ');'
- do j=0 to 9
- x = 0.1*j+0.05;
- y = 0.95-0.1*i;
-
- /* Display the symbols */
-
- 'plsym(1,x,y,' base.l+k ');'
- k=k+1
- end j
- end i
-
- 'plmtex("t",1.5,0.5,0.5,"PLPLOT Example 7 - PLSYM symbols");'
- end l
- 'plend();'
-
- exit 0
-
-